package com.yenlien.traceyun.business.entity;

import com.yenlien.traceyun.business.trace.Trace;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by LiuSha on 2020/7/30.
 * 仓储管理明细
 */
@Entity
@Table(name = "t_storage_manage_detailed")
@Trace(stepName = "storageManageDetailed", parentStepName = {"storageManage"}, order = 1, branch = "purchase")
public class StorageManageDetailed extends TraceScanEntity {
    @Column
    private String productName;//产品名称

    @Column
    private String storageManageId;//仓储管理ID
    /**
     * 仓储管理类型(入库，出库，加工,调整)
     */
    @Column(name = "type", length = 10)
    private String type;
    @Column
    private BigDecimal specs; //规格
    @Column
    private String specsUnit;//单位
    @Column
    private BigDecimal number; //数量

    @Column
    private String clientName; //客户名称

    /**
     * 备注
     */
    @Column(name = "remark", length = 255)
    private String remark;


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getStorageManageId() {
        return storageManageId;
    }

    public void setStorageManageId(String storageManageId) {
        this.storageManageId = storageManageId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getSpecs() {
        return specs;
    }

    public void setSpecs(BigDecimal specs) {
        this.specs = specs;
    }

    public String getSpecsUnit() {
        return specsUnit;
    }

    public void setSpecsUnit(String specsUnit) {
        this.specsUnit = specsUnit;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
